package com.baitiaojun.moments.service;

import com.baitiaojun.api.domain.user.RabbitMqDuplicate;
import com.baitiaojun.api.domain.moments.UserMoments;
import com.baitiaojun.api.exception.ConditionException;

import java.util.List;

/**
 * @类名 MqDuplicateService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/3 21:29
 * @版本 1.0
 */
public interface DuplicateService {

    List<RabbitMqDuplicate> getRabbitMqUserDuplicateListByStatus(String status);

    void batchUpdateMqUserDuplicateByIds(List<Long> ids, String status) throws ConditionException;

    void updateStatusById(RabbitMqDuplicate build) throws ConditionException;

    Long insertDuplicate(UserMoments userMoments) throws ConditionException;

    String selectStatusById(long id);

    void deleteDuplicateByContentId(Long contentId) throws ConditionException;
}
